package tarantula.experiment.primitive;

import junit.framework.TestCase;

public class PrimitiveFailedTestsSimpleTestBug1 extends TestCase {
	public void test1() throws Throwable {

	    java.lang.Integer var0 = new java.lang.Integer(10);
	    org.apache.commons.collections.primitives.ArrayCharList var1 = new org.apache.commons.collections.primitives.ArrayCharList(var0);
	    java.lang.Character var2 = new java.lang.Character('#');
	    boolean var3 = var1.add((char)var2);
	    org.apache.commons.collections.primitives.adapters.CharListList var4 = new org.apache.commons.collections.primitives.adapters.CharListList((org.apache.commons.collections.primitives.CharList)var1);
	    org.apache.commons.collections.primitives.adapters.ListShortList var5 = new org.apache.commons.collections.primitives.adapters.ListShortList((java.util.List)var4);
	    org.apache.commons.collections.primitives.ShortList var6 = org.apache.commons.collections.primitives.ShortCollections.unmodifiableShortList((org.apache.commons.collections.primitives.ShortList)var5);
	    
	    // Checks the contract:  var6.equals(var6)
	    assertTrue("Contract failed: var6.equals(var6)", var6.equals(var6));

	  }
	
	 public void test4() throws Throwable {

		    org.apache.commons.collections.primitives.ArrayCharList var0 = new org.apache.commons.collections.primitives.ArrayCharList();
		    int var1 = var0.size();
		    java.lang.Character var2 = new java.lang.Character('4');
		    var0.add((int)var1, (char)var2);
		    java.util.List var4 = org.apache.commons.collections.primitives.adapters.CharListList.wrap((org.apache.commons.collections.primitives.CharList)var0);
		    org.apache.commons.collections.primitives.adapters.ListShortList var5 = new org.apache.commons.collections.primitives.adapters.ListShortList(var4);
		    org.apache.commons.collections.primitives.ShortList var6 = org.apache.commons.collections.primitives.ShortCollections.unmodifiableShortList((org.apache.commons.collections.primitives.ShortList)var5);
		    
		    // Checks the contract:  var6.equals(var6)
		    assertTrue("Contract failed: var6.equals(var6)", var6.equals(var6));

		  }

		  public void test5() throws Throwable {

		    java.lang.Integer var0 = new java.lang.Integer(10);
		    org.apache.commons.collections.primitives.ArrayCharList var1 = new org.apache.commons.collections.primitives.ArrayCharList(var0);
		    int var2 = var1.size();
		    org.apache.commons.collections.primitives.ArrayCharList var3 = new org.apache.commons.collections.primitives.ArrayCharList(var0);
		    java.lang.Character var4 = new java.lang.Character('#');
		    var3.add((int)var2, (char)var4);
		    java.util.List var6 = org.apache.commons.collections.primitives.adapters.CharListList.wrap((org.apache.commons.collections.primitives.CharList)var3);
		    org.apache.commons.collections.primitives.ShortList var7 = org.apache.commons.collections.primitives.adapters.ListShortList.wrap(var6);
		    org.apache.commons.collections.primitives.ShortList var8 = org.apache.commons.collections.primitives.ShortCollections.unmodifiableShortList(var7);
		    
		    // Checks the contract:  var8.equals(var8)
		    assertTrue("Contract failed: var8.equals(var8)", var8.equals(var8));

		  }
}
